package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 首页汇总对象 gw_home_summarize
 * 
 * @author ruoyi
 * @date 2024-10-10
 */


public class GwHomeSummarize extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 首页汇总ID */

    private Long homeId;
    /** 节点标识符 */
    @Excel(name = "节点标识符")
    private String nodeIdentifier;
    /** 发码量 */
    @Excel(name = "发码量")
    private Long codesSentNumber =0L;

    /** 解析量 */
    @Excel(name = "解析量")
    private Long analysisQuantity =0L;

    /** 实时解析量 */
    private Long realTimeAnalysis=0L;

    /** 公司数量 */
    @Excel(name = "公司数量")
    private Long companiesNumber=0L;

    /** 产品品类数量 */
    @Excel(name = "产品品类数量")
    private Long productCategoriesNumber=0L;

    /** 节点运行状况 */
    @Excel(name = "节点运行状况")
    private Long nodeHealth;

    /** 节点停用 */
    @Excel(name = "节点停用")
    private Long nodeDeactivation;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 节点ID */
    private Long deptId;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    public GwHomeSummarize() {
    }

    public GwHomeSummarize(Long homeId, String nodeIdentifier, Long analysisQuantity, Long codesSentNumber, Long realTimeAnalysis, Long companiesNumber, Long productCategoriesNumber, Long nodeHealth, Long nodeDeactivation) {
        this.homeId = homeId;
        this.nodeIdentifier = nodeIdentifier;
        this.analysisQuantity = analysisQuantity;
        this.codesSentNumber = codesSentNumber;
        this.realTimeAnalysis = realTimeAnalysis;
        this.companiesNumber = companiesNumber;
        this.productCategoriesNumber = productCategoriesNumber;
        this.nodeHealth = nodeHealth;
        this.nodeDeactivation = nodeDeactivation;

    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setHomeId(Long homeId)
    {
        this.homeId = homeId;
    }

    public Long getHomeId() 
    {
        return homeId;
    }
    public void setCodesSentNumber(Long codesSentNumber) 
    {
        this.codesSentNumber = codesSentNumber;
    }

    public String getNodeIdentifier() {
        return nodeIdentifier;
    }

    public void setNodeIdentifier(String nodeIdentifier) {
        this.nodeIdentifier = nodeIdentifier;
    }

    public Long getCodesSentNumber()
    {
        return codesSentNumber;
    }
    public void setAnalysisQuantity(Long analysisQuantity) 
    {
        this.analysisQuantity = analysisQuantity;
    }

    public Long getAnalysisQuantity() 
    {
        return analysisQuantity;
    }
    public void setRealTimeAnalysis(Long realTimeAnalysis) 
    {
        this.realTimeAnalysis = realTimeAnalysis;
    }

    public Long getRealTimeAnalysis() 
    {
        return realTimeAnalysis;
    }
    public void setCompaniesNumber(Long companiesNumber) 
    {
        this.companiesNumber = companiesNumber;
    }

    public Long getCompaniesNumber() 
    {
        return companiesNumber;
    }
    public void setProductCategoriesNumber(Long productCategoriesNumber) 
    {
        this.productCategoriesNumber = productCategoriesNumber;
    }

    public Long getProductCategoriesNumber() 
    {
        return productCategoriesNumber;
    }
    public void setNodeHealth(Long nodeHealth) 
    {
        this.nodeHealth = nodeHealth;
    }

    public Long getNodeHealth() 
    {
        return nodeHealth;
    }
    public void setNodeDeactivation(Long nodeDeactivation) 
    {
        this.nodeDeactivation = nodeDeactivation;
    }

    public Long getNodeDeactivation() 
    {
        return nodeDeactivation;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("homeId", getHomeId())
            .append("codesSentNumber", getCodesSentNumber())
            .append("analysisQuantity", getAnalysisQuantity())
            .append("realTimeAnalysis", getRealTimeAnalysis())
            .append("companiesNumber", getCompaniesNumber())
            .append("productCategoriesNumber", getProductCategoriesNumber())
            .append("nodeHealth", getNodeHealth())
            .append("nodeDeactivation", getNodeDeactivation())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
